package com.ls.lserp.modules.setting.dao;

import java.util.List;

import com.ls.lserp.common.persistence.CrudDao;
import com.ls.lserp.common.persistence.annotation.MyBatisDao;
import com.ls.lserp.modules.order.entity.Order;
import com.ls.lserp.modules.setting.entity.Consumption;
import com.ls.lserp.modules.setting.entity.Ognization;

@MyBatisDao
public interface ConsumptionDao extends CrudDao<Consumption>{
    
    // 保存
    public int saveConsumption(Consumption consumption);
    
    // 删除
    public int deleteConsumption(Consumption consumption);
    
    // 查看
    public Consumption consumptionShow(Consumption consumption);
    
    // 验证
    public Consumption checkFlag(Consumption consumption);

    //查询子项目
	public List<Consumption> findConsumptionList(Consumption consumption);

	public int insertConsumption(Consumption consumption);

	public List<Consumption> findConsuList();
	public List<Consumption> findConsuChildList(String consumptionCD);


	

	

}
